(function() {
    "use strict";
    var app = angular.module("angularApp");
    app.controller('dayStaticsCtrl', function ($scope, $http,$uibModal,fac) {
        $scope.search = {};
        $scope.pageModel = {};
        $scope.find = function(pageNo){
            $.extend($scope.search,{currentPage:pageNo||$scope.pageModel.currentPage||1,pageSize:$scope.pageModel.pageSize||10});
            fac.getPageResult("../clientCard/dayStatics",$scope.search,function(data){
                $scope.pageModel = data;
            });
        };
        $scope.find();
    });

})();